package com.rf.richfitwheel.admin.iam.model;

public class PortalOrg {
    private String id;

    private String orgId;

    private String orgName;

    private Integer orgType;

    private String parentId;

    private Integer sortNumber;

    private String orgShortName;

    private String orgCode;

    private String socialCreditCode;

    private String enterpriseType;

    private String address;

    private Integer syncStatus;

    private Long syncTime;

    private Long myTime;

    private Integer status;
    
    public PortalOrg(String id, String orgId, String orgName, Integer orgType, String parentId, Integer sortNumber, String orgShortName, String orgCode, String socialCreditCode, String enterpriseType, String address, Integer syncStatus, Long syncTime, Long myTime, Integer status) {
        this.id = id;
        this.orgId = orgId;
        this.orgName = orgName;
        this.orgType = orgType;
        this.parentId = parentId;
        this.sortNumber = sortNumber;
        this.orgShortName = orgShortName;
        this.orgCode = orgCode;
        this.socialCreditCode = socialCreditCode;
        this.enterpriseType = enterpriseType;
        this.address = address;
        this.syncStatus = syncStatus;
        this.syncTime = syncTime;
        this.myTime = myTime;
        this.status = status;
    }

    public PortalOrg() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName == null ? null : orgName.trim();
    }

    public Integer getOrgType() {
        return orgType;
    }

    public void setOrgType(Integer orgType) {
        this.orgType = orgType;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public Integer getSortNumber() {
        return sortNumber;
    }

    public void setSortNumber(Integer sortNumber) {
        this.sortNumber = sortNumber;
    }

    public String getOrgShortName() {
        return orgShortName;
    }

    public void setOrgShortName(String orgShortName) {
        this.orgShortName = orgShortName == null ? null : orgShortName.trim();
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode == null ? null : orgCode.trim();
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode == null ? null : socialCreditCode.trim();
    }

    public String getEnterpriseType() {
        return enterpriseType;
    }

    public void setEnterpriseType(String enterpriseType) {
        this.enterpriseType = enterpriseType == null ? null : enterpriseType.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getSyncStatus() {
        return syncStatus;
    }

    public void setSyncStatus(Integer syncStatus) {
        this.syncStatus = syncStatus;
    }

    public Long getSyncTime() {
        return syncTime;
    }

    public void setSyncTime(Long syncTime) {
        this.syncTime = syncTime;
    }

    public Long getMyTime() {
        return myTime;
    }

    public void setMyTime(Long myTime) {
        this.myTime = myTime;
    }
    
    public Integer getStatus(){
        return status;
    }
    
    public void setStatus(Integer status){
        this.status = status;
    }
    
    @Override
    public String toString(){
        final StringBuilder sb = new StringBuilder("PortalOrg{");
        sb.append("id='").append(id).append('\'');
        sb.append(", orgId='").append(orgId).append('\'');
        sb.append(", orgName='").append(orgName).append('\'');
        sb.append(", orgType=").append(orgType);
        sb.append(", parentId='").append(parentId).append('\'');
        sb.append(", sortNumber=").append(sortNumber);
        sb.append(", orgShortName='").append(orgShortName).append('\'');
        sb.append(", orgCode='").append(orgCode).append('\'');
        sb.append(", socialCreditCode='").append(socialCreditCode).append('\'');
        sb.append(", enterpriseType='").append(enterpriseType).append('\'');
        sb.append(", address='").append(address).append('\'');
        sb.append(", syncStatus=").append(syncStatus);
        sb.append(", syncTime=").append(syncTime);
        sb.append(", myTime=").append(myTime);
        sb.append(", status=").append(status);
        sb.append('}');
        return sb.toString();
    }
}